from django.http import HttpResponse
import logging


logger = logging.getLogger('django')
def log(request):

    # logger.debug('测试logging模块debug')
    logger.info('测试logging模块info')
    # logger.error('测试logging模块error')
#dingyibianlsdflajsfdl
    return HttpResponse('log')